package com.yuec.epidemic.mapper;

import com.yuec.epidemic.dto.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from users where account=#{account} and del_flag is null or del_flag =0")
    UserInfo findByAccount(String account);
}
